@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>工作日管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="condition" name="时间" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Day.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="DayTableToolbar" role="group">
                            @if(shiro.hasPermission("/day/addWorkday")){
                            <#button name="置为工作日" icon="fa-check-circle" clickFun="Day.addWorkday()"/>
                            @}
                            @if(shiro.hasPermission("/day/addNonworkdays")){
                            <#button name="置为非工作日" icon="fa-warning" clickFun="Day.addNonworkdays()"/>
                            @}
                            @if(shiro.hasPermission("/day/initialize")){
                            <#button name="初始化工作日" icon="fa-refresh" clickFun="Day.initialize()"/>
                            @}
                        </div>
                        <#table id="DayTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/day/day.js"></script>
@}
